<div class="col_02" id="rightside">
	<div class="col_02_01" id="sysContent_box">
		<div class="main-wrap">
			<div class="m-t">	<h2><b>Applicants Received for ER Job Req #<a href="jobedit.php?action=edit&id={$job_id}">{$job_id}</a></b> > Applicants {$type}({$appnum})</h2>
			</div>
			<div class="m-c">	
				<form action=""  method="GET" name="search" >
				<table width="100%" border="0" cellpadding="0" cellspacing="5"  class="table_style">
					<tr>
						<td colspan="2">Resume Keywords:<br /><input  type="text" name="keywords"  maxlength="200" value="{$s.keywords}" style="width:360px">
						</td>
						<td>Date Received: 
							<input  type="text" name="date" size="20" id="f_date_c" readonly value="{$s.date}"><img src="images/img.gif" id="f_trigger_c" style="cursor: pointer; border: 0px solid red;" align="absmiddle" title="Date selector" />
							{literal}
							<script type="text/javascript">
							Calendar.setup({
								inputField     :    "f_date_c",     // id of the input field
								ifFormat       :    "%m/%d/%Y",      // format of the input field
								button         :    "f_trigger_c",  // trigger for the calendar (button ID)
								align          :    "Tl",           // alignment (defaults to "Bl")
								singleClick    :    true
							});
							</script>
							{/literal}
						</td>
					</tr>
					<tr>
						<td>Applicant City:</td>
						<td>Applicant State: </td>
						<td>Applicant Country: </td>
					</tr>
					<tr>
						<td>
							<input  type="text" name="location" maxlength="200" value="{$s.location}" style="width:175px">
						</td>
						<td>
							<select name="state" >
								{html_options selected=$s.state options=$state}
							</select>
						</td>
						<td>
							<select name="country" size="">
								{html_options selected=$s.country options=$country}
							</select>
						</td>
					</tr>
					<tr>
						<td>Applicant: </td>
						<td>Recruiter: </td>
						<td></td>
					</tr>
					<tr>
						<td>
							<input  type="text" name="name" maxlength="200" value="{$s.name}" style="width:175px">
						</td>
						<td>
							<input  type="text" name="recruiter" maxlength="200" value="{$s.recruiter}" style="width:175px">
						</td>
						<td>
						</td>
					</tr>
					<tr>
						<td colspan="3" align="center">
							<input name="action" value="search" type="hidden">
							<input name="tpp" value="posted" type="hidden">
							<input name="id" value="{$job_id}" type="hidden">
							<input class="bginput button-secondary" accesskey="y" type="submit" name="submit" value=" Search ">
							<input class="bginput button-secondary" accesskey="r" type="button" name="Input" value=" Clear "  onclick="turnto('applicantlist.php?&id={$job_id}&tpp=posted')">
						</td>
					</tr>
				</table>
			</form>
</div>
		</div>
</div>
<div class="col_02_02" id="side_box">
	<div class="signIn">
		<h2 class="m_t m_t_gray">Member  Center</h2>
		<div class="m_c">
			<div class="mySigned" id="J_sign_form">
				<div id="loginboxx">
					<p class="info">Welcome, <span class="u_name">{$uname}</span>!</p>
					<p class="lnk_panel"><a href="settings.php" class="lnk_arrow">My Account</a></p>
					
					<p class="lnk_panel"><a href="#" onclick="return ajax_out()" class="lnk_arrow">Sign Out</a><div id="loadp"></div></p>
				</div>
			</div>
		</div>
		<div class="m_f"></div>
	</div>
	<div class="panel_box mt_10">
		<h2 class="m_t m_t_gray">Join a Chat </h2>
		<div class="m_c">
			<div>
				<ul>
					<li><a href="findchats.php">Skype Chat</a></li>
					<li><a href="findwebinars.php">Webinars</a></li>
				</ul>
			</div>
			<p class="info"><a href="#"></a></p>							
		</div>
		<div class="m_f"></div>
	</div>
</div>
<div class="clearfix"></div>
<div class="module_box mt_10" id="findResults">
	
{literal}
<script type="text/javascript">
checked=false;
function checkedAll() {
	var aa= document.getElementById('fm1');
	 if (checked == false)
	  {
	   checked = true
	  }
	 else
	  {
	  checked = false
	  }
	for (var i =0; i < aa.elements.length; i++) 
	{
	 aa.elements[i].checked = checked;
	}
}
</script>
{/literal}
	<div class="m_c">
	{$page}
	<form method="POST" action="?action=del&type=received&id={$job_id}" id="fm1">
	  <table width="100%" border="0" cellpadding="4" cellspacing="1" class="tableGrey">
              <tr class="white">
        <th width="14%"><a href="applicantlist.php?&id={$job_id}&order1={$order_arr.1}&swh=1&tp=1&tpp={$tpp}" >Date/Time{$image_arr.1}</a></th>
		<th width="20%"><a href="applicantlist.php?&id={$job_id}&order2={$order_arr.2}&swh=2&tp=1&tpp={$tpp}" >Name{$image_arr.2}</a></th>
		<th><a href="applicantlist.php?&id={$job_id}&order3={$order_arr.3}&swh=3&tp=1&tpp={$tpp}" >Location{$image_arr.3}</a></th>
		<th width="11%"><a href="applicantlist.php?&id={$job_id}&order4={$order_arr.4}&swh=4&tp=1&tpp={$tpp}" >Experience{$image_arr.4}</a></th>
		<th><a href="applicantlist.php?&id={$job_id}&order6={$order_arr.6}&swh=6&tp=1&tpp={$tpp}" >Desired Salary{$image_arr.6}</a></th>
		<th width="14%">Submitted By</th>
		<th width="15%"><input type="checkbox" name="" onClick="checkedAll()"/><input value="Delete" type="submit" name="delete" onclick="return checkdelall()" class="button-secondary"></th>
              </tr>
	      {section name=custom loop=$applist}
              <tr  class="hotline {cycle values="odd,even"}">
		<td>{$applist[custom].app_regtime}</td>
		<td><a href="applicantdetails.php?id={$applist[custom].app_id}&tpp={$tpp}">{$applist[custom].name}</a>		
		</td>
		<td>{$applist[custom].location}</td>
		<td>{$applist[custom].re_yearexp}</td>
		<td>${$applist[custom].re_desiredpay}</td>
		<td>{$applist[custom].app_owntype}{$applist[custom].rec_profile}</td>
		<td>{if $applist[custom].app_submittime==''}<input type="checkbox" name="del[]" value="{$applist[custom].app_id}" ><input type="button" value="Reply" onclick="location.href='applicationreply.php?rid={$applist[custom].app_id}'" class="button-secondary"/>{if $applist[custom].re_upload !=''}<a href="./uploadfiles/resumes/{$applist[custom].re_upload}">Resume</a>{/if}
		{if $applist[custom].app_isreplied == 1}
		<a href="###" onmouseover="Tip('Already Replied', WIDTH, 100,OFFSETY,20, SHADOW, true)"><img src="images/0308.png" border="0" align="absmiddle" /></a>
		{/if}
		{if $applist[custom].app_isdelete !=0 }<a href="###" onmouseover="Tip('This applicant has been removed.', WIDTH, 200,OFFSETY,20, SHADOW, true)"><img src="images/icn_red_question.jpg" border="0" align="absmiddle" /></a>{/if}{else}<a href="###" onmouseover="Tip('Our system indicate that you have selected to contact the recruiter for this applicant.  Once the Contact Recruiter Yes box is checked you may no longer delete the applicant.', WIDTH, 200,OFFSETY,20, SHADOW, true)"><img src="images/icn_question.jpg" border="0" align="absmiddle" /></a>{/if}
		</td>
	      </tr>
	      {sectionelse}
               <tr  class="hotline {cycle values="odd,even"}">
                <td colspan="11"><font color=red>No data was found for selected field(s).</font></td>
               </tr>
	      {/section}
          </table>
	  </form>
        {$page} 
</div><input type="button" value="Back" onclick="location.href='mypostjobs.php'" class="button-secondary">
</div>
</div>
			</div>
		</div>
	</div>
</section>